package api

type RBucket interface {

	// Size 获取元素数量
	Size() int64

	// Get 获取value
	Get() interface{}

	// GetAndDelete 获取并删除
	GetAndDelete() interface{}
}

type RedissonBucket struct {
}

func (bucket *RedissonBucket) Size() int64 {
	return 64
}

func (bucket *RedissonBucket) Get() interface{} {
	return nil
}

func (bucket *RedissonBucket) GetAndDelete() interface{} {
	return nil
}
